//引入模块
import Vue from 'vue'
import Router from 'vue-router'
//引入组件
// import Login from '../components/Login'
// import Register from '../components/register'
import Chat from '../view/Chat'
import Shop from '../view/Contact'
import  Records from '../view/Records'
import Gold from '../view/Gold'



//手动注册路由
Vue.use(Router)
//暴露路由实例
export default new Router ({
  routes:[
    // {
    //   path:'/Login',
    //   component: Login
    // },
    // {
    //   path:'/Register',
    //   component: Register
    // }
    {
      path:'/Chat',
      component: Chat
    }
  ] 
})

